/**
 * Created by 黄智超 on 2016/7/6.
 * email:362768225@qq.com
 */
// load mongoose since we need it to define a model
var mongoose = require('mongoose');

//定义模型
module.exports = mongoose.model('Todo', {
    text : String,
    done : Boolean
});